package api.bean;

import android.content.Context;
import android.view.View;

import java.util.List;

/**
 * Created by daihui on 16-5-18.
 * 海外读sdk 信息流广告bean 应用在 beautyCenter中
 */
public interface API_Du_NativeBean {
    public void init(Context var1, int var2) ;

    public void init(Context var1, int var2, int var3) ;

    public void setMobulaAdListener(DWUListenerAPI var1);

    public void fill() ;

    public void registerViewForInteraction(View var1);

    public void registerViewForInteraction(View var1, List var2);
    public boolean isAdLoaded();

    public void unregisterView();

    public void load() ;

    public void destory() ;

    public void clearCache() ;

    public String getTitle();

    public String getShortDesc() ;

    public String getIconUrl();
    public String getImageUrl();
    public float getRatings();

    public String getCallToAction() ;
    public void setNull();


    public static interface DWUListenerAPI {

        void onError(API_Du_NativeBean var1, int errorCode, String errorMessage);

        void onAdLoaded(API_Du_NativeBean var1);

        void onClick(API_Du_NativeBean var1);
    }
}
